{template 'common/header'}
<div class="panel panel-info" style="margin-top: 10px;">
	<div class="panel-heading">搜索</div>
	<div class="panel-body">
		<form action="./index.php" method="get" class="form-horizontal" role="form" id="form1">
			<input type="hidden" name="c" value="site" />
			<input type="hidden" name="a" value="entry" />
			<input type="hidden" name="m" value="hellozjx_mapwxapp" />
			<input type="hidden" name="do" value="order" />
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">关键字</label>
				<div class="col-sm-8 col-lg-9 col-xs-12">
					<input class="form-control" name="keyword" id="" type="text" value="{$_GPC['keyword']}" placeholder="输入订单号">
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label"></label>
				<div class="col-sm-5 col-xs-12">
					<button class="btn btn-success"><i class="fa fa-search"></i> 搜索</button>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="main panel panel-default">
	<div class="panel-body table-responsive">
		<table class="table table-hover">
			<thead class="navbar-inner">
				<tr>
					<th style="width:30px;">ID</th>
					<th style="text-align: center;">订单号</th>
					<th style="text-align: center;">视频标题</th>
					<th style="text-align: center;">视频图片</th>
					<th style="text-align: center;">会员名称</th>
					<th style="text-align: center;">价格</th>
					<th style="text-align: center;">状态</th>
				</tr>
			</thead>
			<tbody>
				{loop $list $item}
				<tr>
					<td style="vertical-align: inherit;">{$item['id']}</td>
					<td style="text-align: center;vertical-align: inherit;">{$item['payment_no']}</td>
					<td style="text-align: center;vertical-align: inherit;">{$item['v_name']}</td>
					<td style="text-align: center;vertical-align: inherit;"><img width="100" src="{php echo tomedia($item['img_url'])}" alt=" "></td>
					<td style="text-align: center;vertical-align: inherit;">{$item['real_name']}</td>
					<td style="text-align: center;vertical-align: inherit;">{$item['pay_price']}</td>
					<td style="text-align: center;vertical-align: inherit;">{if $item['status'] == 1}未付款{elseif $item['status'] == 2}已付款{/if}</td>
				</tr>
				{/loop}
			</tbody>
		</table>
		{$pager}
	</div>
</div>

{template 'common/footer'}